package com.ctshk.rpc.order.custom.entity;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 游客收款
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-02-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_customized_order_collection")
@ApiModel(value="CustomizedOrderCollection对象", description="游客收款")
public class CustomizedOrderCollection extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    @ApiModelProperty(value = "团期ID")
    private Long scheduleId;

    @ApiModelProperty(value = "游客ID")
    private Long touristId;

    @ApiModelProperty(value = "收据ID")
    private Long receiptId;

    @ApiModelProperty(value = "应收金额")
    private BigDecimal totalReceivables;

    @ApiModelProperty(value = "收款金额")
    private BigDecimal paidInAmount;

    @ApiModelProperty(value = "货币收款金额")
    private BigDecimal currencyPaidInAmount;

    @ApiModelProperty(value = "货币类型")
    private String currencyType;

    @ApiModelProperty(value = " 汇率")
    private Double exchangeRate;

    @ApiModelProperty(value = "货币类型主数据ID")
    private Long currencyTypeId;

    @ApiModelProperty(value = "收款类型")
    private String collectionType;

    @ApiModelProperty(value = "收款类型主数据ID")
    private Long collectionTypeId;

    @ApiModelProperty(value = "收款方式")
    private String collectionWay;

    @ApiModelProperty(value = "收款方式主数据ID")
    private Long collectionWayId;

    @ApiModelProperty(value = "付款方ID")
    private Long payerId;

    @ApiModelProperty(value = "付款方")
    private String payer;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "收款凭证数量")
    private Integer collectionVoucherNum;

    @ApiModelProperty(value = "收款凭证JSON")
    private String collectionVoucherJson;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;

    @ApiModelProperty(value = "是否pos机")
    private Integer isPos;
    @ApiModelProperty(value = "收款单号")
    private String collectionNumber;
    @ApiModelProperty(value = "状态（2 审批中,3 审批通过,4 审批不通过）")
    private Integer status;
    @ApiModelProperty(value = "是否打印")
    private Integer isPrint;
    @ApiModelProperty(value = "驳回信息")
    private String rejectMsg;
    @ApiModelProperty(value = "相关信息JSON")
    private String relationInfoJson;

}
